<!DOCTYPE html>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<c:set var="basePath" value="${pageContext.request.contextPath}"/>
<html lang="zh-CN">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>MyOauth2客户端</title>
</head>
<body>
	<h1>MyOauth2 AccessToken展现</h1>
	<h4>AuthCode:${authCode}</h4>
	<h4>AccessToken:${accessToken}</h4>
	<h4>RefreshToken:${refreshToken}</h4>
	<a href="${basePath}/getResource?type=GET&accessToken=${accessToken}">GET资源</a>
	<a href="${basePath}/getResource?type=POST&accessToken=${accessToken}">POST资源</a>
	<a href="${basePath}/refreshAccessToken?authCode=${authCode}&refreshToken=${refreshToken}">刷新AccessToken</a>
</body>
</html>